import Vue from "vue"
import VueRouter from 'vue-router'
Vue.use(VueRouter);
var router = new VueRouter({
    mode:'history',
    routes:[
        {
            path:'/',
            name:'首页',
            component:()=>import('../views/Home')
        },
        {
            path:'/list',
            name:'列表页',
            component:()=>import('../views/List')
        },
        {
            path:'/login',
            name:"登录",
            component:()=>import('../views/Login')
        }
    ]
});
export default router
